/**
 * 控制代码格式
 * @type {import('prettier').Config}
 * @see https://prettier.io/docs/en/options.html
 */

export default {
  semi: true,
  trailingComma: 'all',
  singleQuote: true,
  printWidth: 120,
  tabWidth: 2,
  useTabs: false,
  bracketSpacing: true,
  arrowParens: 'always',
  endOfLine: 'lf',
  quoteProps: 'as-needed',
  bracketSameLine: false,
  jsxSingleQuote: false,
};
